home *** CD-ROM | disk | FTP | other *** search
- Path: news.kth.se!news
- From: Per Wiberg <e95_pwi@elixir.e.kth.se>
- Newsgroups: comp.lang.c++
- Subject: how to edit, compile and debug in BC++ 4.5(for all you who can't)
- Date: Wed, 10 Jan 1996 13:13:44 +0100
- Message-ID: <30F3AD78.446B@elixir.e.kth.se>
- NNTP-Posting-Host: lumen.e.kth.se
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0b2 (X11; I; OSF1 V2.0 alpha)
- CC: dilcher@cueva.com
-
- Ok, how to edit:
-
- the simplest way is to edit with .... EDIT!. The only disadvantage is
- that your code will not be indented.But otherwise it's Ok.
- Just save your code as file.c.
-
- how to compile:
-
- bbc -Ic:\bc45\include someth.c
-
- I assume that your include library (where those headerfiles, stdio.h
- are) is c:\bc45\include otherwise just change the path. -I means "where
- are the headers?". someth.c is the file you're going to compile. Bcc
- will generate a file called "someth.exe". NOTE, Bcc WILL OVERWRITE
- existing files which have the same name!!!!! WITHOUT ANY WARNING!!.
-
- If you are going to debug the program just add -v . this means that bbc
- will save the symbol table in a file called *.tbl (I think..)
-
- bcc -v -Ic:\bc45\include someth.c
-
- then run:
- td someth.exe
-
- to debug ,add breakpoints(where you want to pause) step through your
- program with F9 and watch variables with add watch Ctr-F7.
-
- that's all to it!
- Per Wiberg
-